const fs = require("fs");

const filePath = `D://ziliao/webpack-code/package.json`;

fs.readFile(filePath, "utf-8", (err, data) => {
  if (err) {
    console.log("===读取文件失败===", err);
    return;
  }
  console.log(data);
});
